package com.chaoyi.model;

import java.util.List;

/**
 * 左侧菜单tree
 */

public class MenuTreeInfo {
    private int id;
    //菜单名称
    private String text;
    private String icon;
    private String url;
    //已经菜单为空
    private String targetType;
    private List<MenuTreeInfo> children;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public List<MenuTreeInfo> getChildren() {
        return children;
    }

    public void setChildren(List<MenuTreeInfo> children) {
        this.children = children;
    }
}
